package com.huaiwei.usmManager.modules.usm.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huaiwei.usmManager.modules.usm.entity.GoodsEntity;
import com.huaiwei.usmManager.modules.usm.entity.ShopTop5Entity;
import com.huaiwei.usmManager.modules.usm.entity.Top10Entity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface GoodsDao extends BaseMapper<GoodsEntity> {
//    销售数量前五查询
    public List<Top10Entity> getTopSales();
//    销售数量前五店铺查询
    public List<ShopTop5Entity> getTopShop();
}
